package com.linkoog.devtools.code_generator.wizard;

import com.intellij.openapi.project.Project;
import com.linkoog.devtools.intellij.ui.button.SegmentedButton;
import com.linkoog.devtools.intellij.wizard.WizardContext;
import com.linkoog.devtools.intellij.wizard.WizardStep;

import javax.swing.*;
import java.awt.*;
import java.util.List;

public class ModelStep extends WizardStep {

    private JPanel myMainPanel;

    public ModelStep(Project project, WizardContext wizardContext) {
        super(project, wizardContext);

        List<String> items = List.of("UI Designer", "JSON", "DDL SQL", "Database");

        SegmentedButton component = new SegmentedButton(items);
        myMainPanel.add(component, BorderLayout.CENTER);
    }


    @Override
    public JComponent getComponent() {
        return myMainPanel;
    }
}
